package iammry.com.mode;
import java.io.File;
import android.bluetooth.BluetoothSocket;
import android.content.Context;
import android.net.Uri;



/**
 * 
 * 
 * app全部参数
 * @author kim
 *
 */
public class AppInfos
{
	/**
	 * 蓝牙名字
	 */
	public static String blueName = "Dr.Yaya";

	// UUID协议
	public static final String SPP_UUID = "00001101-0000-1000-8000-00805F9B34FB";


	private static AppInfos infos = null;

	private static boolean debug = false;
	/**
	 *  1为成�??
	 *  0为失�??
	 */
	public boolean isConnectSuccess=false;

	private AppInfos() {
	};

	/**
	 * 使用单例设计模式是对象唯�??�??
	 * 
	 * @return AppInfos 对象
	 */
	public static AppInfos getInstance() {
		// 对单利模式进行优化，防止多线程出现问
		if (infos == null) {
			synchronized (AppInfos.class) {

				if (infos == null) {
					infos = new AppInfos();
				}
			}
		}

		return infos;
	}



	//thrid um param
	public static String QQAPPID = "1105198256";
	public static String QQAPPKEY = "oTdLO5Eu8mDRuZEI";
	public static String WXAPPID = "wx50a098894fccfc81";
	public static String WXAPPKEY = "cd6f0aec062e8a2886b23f277ef7a582";

	public String access_token;
	public String openid;
	public String imageName;

	public Uri photoUri;

	public String ImagePath;
	public File picFile;

	public static Context AppContext;

	public static BluetoothSocket socket;

	public int electric=0;

	public int volume_mode;

	public int scanStart=0;

	public int scanOver=0;

	public static int blue_main_version;
	public static int blue_son_version;
	public static int blue_update_version;
	public static String versionName;


	// 上传到sso的key 值和secret 值
	public String sso_key = "yqJsjKxL8dQf9s4A";
	public String sso_seret = "Mn2nClW8NK9cdlf3KszboJcNKM4Xg8";

	// public String cname="avator/upload.jpeg";
	public String canme = "avator";
	public String local = "/mnt/oss/dryaya";
	public String endpoint = "oss-cn-shenzhen.aliyuncs.com";
	public String faceIcon;// "faceicon": "ossobj对象", //头像需要上传到阿里云的oss




}
